<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('jdy/anchang/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a class="btn btn-success btn-myexcel-export" href="javascript:;"><i class="fa fa-paper-plane-o"></i>導出新建案場</a>
                        <a class="btn btn-info btn-addtabs" href="jdy/anchang/gzrl" title="工作日曆">工作日曆</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('jdy/anchang/edit')}" 
                           data-operate-del="{:$auth->check('jdy/anchang/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>


<script id="categorytpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="xianshi,xzq">
                <select class="xianshi form-control" name="xianshi" data-url="jdy/anchang/cxselect?type=xianshi"></select>
                <select class="xzq form-control" name="xzq" data-url="jdy/anchang/cxselect?type=xzq" data-query-name="xianshi"></select>
                <input type="hidden" class="operate" data-name="xianshi" value="=" />
                <input type="hidden" class="operate" data-name="xzq" value="=" />
            </div>
        </div>
    </div>
</script>
